<html>
    <head>
        <include file="/Tpl/head"/>
    </head>
    <body>
        <include file="/Tpl/head1"/>
        <include file="/Tpl/head2"/>
        <div style="width: 100%;height:30px;"></div>
        <div class="am-g am-g-fixed">
            <div class="col-sm-12 col-md-3" style="border-right:1px solid #eee;min-height:500px;">
                <ul class="am-nav m_nav">
                    <loop table="category" pid="15">
                        <li class="am-nav-header"><a href="{$v['url']}">{$v['title']}</a></li>
                        <loop table="category" pid="$v['id']" as="$vo">
                        <li><a href="{$vo['url']}">|-{$vo['title']}</a></li>
                            <loop table="category" pid="$vo['id']" as="$vs">
                                <li><a href="{$vs['url']}">&emsp;|-{$vs['title']}</a></li>
                            </loop>
                        </loop>
                    </loop>
                    
                </ul>
            </div>
            <div class="col-sm-12 col-md-9">
            
                <div data-am-widget="list_news" class="am-list-news am-list-news-default">
                  <div class="am-list-news-hd am-cf">
                    <a>
                      <h2>{$type['title']}</h2>
                      <span class="am-list-news-more am-fr"><i class="am-icon-list"></i> &raquo;</span>
                    </a>
                  </div>
                  <div class="am-list-news-bd">
                    <ul class="am-list">
                      <loop table="article" cid="$type['id']" limit="20" page="$pg">
                          <li class="am-g am-list-item-dated">
                            <a href="{$v['url']}" class="am-list-item-hd">{$v['title']}</a>
                            <span class="am-list-date">{$v['cdate']|date='Y-m-d',###}</span>
                          </li>
                      </loop>
                    </ul>
                  </div>
                  <div class="am-pagination">{$pg}</div>
                </div>
                
                
            </div>
        </div>
 
 <include file="/Tpl/bottom"/>
 </body>
 </html>